package com.shop.shoppingmall.entity;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * (ShProductSpecs)实体类
 *
 * @author makejava
 * @since 2020-09-07 17:09:47
 */
@Data
public class ShProductSpecs implements Serializable {
    private static final long serialVersionUID = 736036456236177814L;
    /**
     * 主键
     */
    private String id;

    private String photo;
    /**
     * 商品id
     */
    private String productId;
    /**
     * 规格
     */
    private String productSpecs;
    private String specs;
    /**
     * 库存
     */
    private Integer productStock;
    /**
     * 价格
     */
    private BigDecimal productPrice;
    /**
     * 创建时间
     */
    private Date creatTime;

    private String prices;
    /**
     * 更新时间
     */
    private Date updateTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductSpecs() {
        return productSpecs;
    }

    public void setProductSpecs(String productSpecs) {
        this.productSpecs = productSpecs;
    }

    public Integer getProductStock() {
        return productStock;
    }

    public void setProductStock(Integer productStock) {
        this.productStock = productStock;
    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}